﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Application/Cart/Administration/MasterPage.master" AutoEventWireup="true" CodeFile="Orders.aspx.cs" Inherits="Application_Cart_Administration_Orders" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:GridView runat="server" ID="GridViewOrders" OnRowDataBound="Grid_OnRowDataBound" AutoGenerateColumns="false" ShowFooter="true">
<Columns>
	<asp:TemplateField HeaderText="OrderId">
		<ItemTemplate><a href="OrderDetail.aspx?id=<%# Eval("Id") %>" title="Show the detail of the current order."><%# Eval("Id") %></a></ItemTemplate>
	</asp:TemplateField>
	<asp:BoundField HeaderText="Date Of Order" DataField="DateOfOrder" />
	<asp:TemplateField HeaderText="Client">
		<ItemTemplate><a href="<%# Eval("ClientsId") %>"><%# Eval("FullName") %></a></ItemTemplate>
	</asp:TemplateField>
	<asp:BoundField HeaderText="Email" DataField="Email" />
	<asp:BoundField HeaderText="Total" DataField="Total" DataFormatString="{0:c}" />
	<asp:BoundField HeaderText="Status" DataField="Status" />
	
</Columns>
</asp:GridView>
</asp:Content>

